//===============================================================================
// Microsoft patterns & practices Enterprise Library Contribution
// Query Application Block
//===============================================================================

using Microsoft.Practices.EnterpriseLibrary.Common.Configuration.ObjectBuilder;
using Microsoft.Practices.EnterpriseLibrary.Common.Configuration.Unity;
using EntLibContrib.Query.Configuration.Unity;

namespace EntLibContrib.Query.Configuration
{
	/// <summary>
	/// Configuration data defining ServiceCustomCommandData.
	/// </summary>
	[Assembler(typeof(ServiceCustomCommandAssembler))]
	[ContainerPolicyCreator(typeof(ServiceCustomCommandPolicyCreator))]
	public class ServiceCustomCommandData : CustomCommandData
	{
		#region Construction
		/// <summary>
		/// Initializes a new instance of the <see cref="ServiceCustomCommandData"/> class.
		/// </summary>
		public ServiceCustomCommandData ()
		{
		}

		/// <summary>
		/// Initializes a new instance of the <see cref="ServiceCustomCommandData"/> class.
		/// </summary>
		/// <param name="name">The provider name.</param>
		/// <param name="commandTypeName">Name of the command type.</param>
		public ServiceCustomCommandData(string name, string commandTypeName)
			: base(name, typeof(ServiceCustomCommand), commandTypeName)
		{
		}
		#endregion
	}
}